/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projectkp;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import koneksi.Koneksi;

/**
 *
 * @author rosi
 */
public class BacaDBF {

    public void bacaDataBase() {
//        try {
//            Koneksi kon = new Koneksi();
////           Connection conn= Koneksi.open();
//           Statement st = conn.createStatement();
//            String query = "select * from inv10201";
////            st.execute(query);
//            System.out.println(   st.execute(query));
//            ResultSet rs = st.executeQuery(query);
//            for (int i = 0; i < 100; i++) {
////                Object object = arr[i];
////                
////            }
//            while(rs.next()){
//                System.out.print(rs.getString(i)+"sdgsg ");
//            }
//            }
//        } catch (SQLException ex) {
//            Logger.getLogger(BacaDBF.class.getName()).log(Level.SEVERE, null, ex);
//        } catch (FileNotFoundException ex) {
//            Logger.getLogger(BacaDBF.class.getName()).log(Level.SEVERE, null, ex);
//        } catch (IOException ex) {
//            Logger.getLogger(BacaDBF.class.getName()).log(Level.SEVERE, null, ex);
//        }
    }
}
